;var module = angular.module('CtrlsContent');
module.controller('DiantiyigoumaiCtrl',['$scope','$state','api_other',function($scope,$state,api_other){
	$scope.list = [];
	$scope.event = {
		get:function(){
			var obj = {
				userId:localStorage.bls_userId,
				catId:localStorage.catId,
				type:2
			};
			var promise = api_other.diantiList(obj);
			promise.success(function(data){
				if(data.returnCode == 0){
					$scope.list = data.returnData;
				}
			});
		}
	};
	$scope.event.get();
}])